﻿using System;
using System.Collections.Generic;
using System.Text;
using Abp.Domain.Repositories;
using Dust.AbpProject.Tasks;

namespace Dust.AbpProject.IRepositories
{
    public interface IBackendTaskRepository:IRepository<Task>
    {
        /// <summary>
        /// 获取某个用户分配了哪些任务
        /// </summary>
        /// <param name="personId">用户Id</param>
        /// <returns>任务列表</returns>
        List<Task> GetTaskByAssignedPersonId(long personId);
    }
}
